package com.atguigu.gulimall.member.feign.coupon;

import com.atguigu.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @Author ShiJieLin
 * @Date 2022/5/3 9:16
 * @Version 1.0
 */
@FeignClient("gulimall-order")
public interface OrderFeignService {

    /** 获取当前会员的订单信息
     * @param params
     * @return
     */
    @PostMapping("/order/order/listWithItem")
    R listWithItem(@RequestBody Map<String, Object> params);
}
